export default {

  actions:{
    setUser(context,value){
      console.log(context)
      context.commit('SetUser',value)
    }

  },
  mutations:{
    SetUser(state,value){
      state.user=value
    }
  },
  state:{
      user:{
        id:"",
        name:"",
        image:"",
        account:"",
        email:"",
        check:"",
        createTime:"",
        modifyTime:""
      }
  }
}
